package com.wise.summer.v1.portal.content.resourcegroups;

import com.wise.framework.annotations.ApiInfo;
import com.wise.framework.annotations.Publish;
import com.wise.framework.annotations.SkipUserAuth;
import com.wise.framework.daoannotations.Column;
import com.wise.framework.summer.BasicSummer;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@SkipUserAuth
@Setter
@Getter
@Publish
@ApiInfo("显示资源分组")
public class ListResourceGroups extends BasicSummer<List<ListResourceGroups.Result>> {


	@Getter
	@Setter
	public static class Result {

		@ApiInfo("所属分组")
		@Column("id")
		private String id;

		@ApiInfo("组名")
		@Column("group_name")
		private String groupName;

		@ApiInfo("当前组内资源数量")
		@Column("count")
		private Integer count;

		@ApiInfo("当前组内资源数量")
		@Column("status")
		private Integer status;

	}
}
